More verbose log when vmx_decode() fails.
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Mon, 11 Jul 2005 08:59:22 +0000 (08:59 +0000)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Mon, 11 Jul 2005 08:59:22 +0000 (08:59 +0000)
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
xen/arch/x86/vmx_platform.c

index bcf80e3d684e8f9822feb4c0984ae42eae4ced33..f8ca5449581396e98066b1439979a83d686a0d65 100644 (file)
@@ -653,8 +653,11 @@ void handle_mmio(unsigned long va, unsigned long gpa)
 
     init_instruction(&mmio_inst);
     
-    if (vmx_decode(inst, &mmio_inst) == DECODE_failure)
+    if (vmx_decode(inst, &mmio_inst) == DECODE_failure) {
+        printk("vmx decode failure: eip=%lx, va=%lx\n %x %x %x %x\n", eip, va, 
+               inst[0], inst[1], inst[2], inst[3]);
         domain_crash_synchronous();
+    }
 
     __vmwrite(GUEST_RIP, eip + inst_len);
     store_cpu_user_regs(inst_decoder_regs);